package org.jeecg.modules.rental.mapper;

import com.baomidou.mybatisplus.annotation.InterceptorIgnore;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.rental.entity.RentalAccount;

import java.util.List;

/**
 * @Description: 租车账号(客户)
 * @Author: sean
 * @Date:   2024-04-28
 * @Version: V1.0
 */
public interface RentalAccountMapper extends BaseMapper<RentalAccount> {

    @InterceptorIgnore(tenantLine = "true")
    RentalAccount findOneNoTenant(@Param(Constants.WRAPPER) Wrapper<RentalAccount> wrapper);

    @InterceptorIgnore(tenantLine = "true")
    List<RentalAccount> listNoTenant(@Param(Constants.WRAPPER) Wrapper<RentalAccount> wrapper);
}
